package com.hui10.mediaplayer.util

import android.os.Handler
import android.os.Looper

/**
 * Author: Created by lucus on 2019/5/28.
 * E-mail: mcphilex1989@gmail.com
 * Tel: 15652608401
 */
object ThreadUtil {

    private val handler = Handler(Looper.getMainLooper())

    fun runOnMainUIThread(runnable: Runnable) {
        handler.post(runnable)
    }
}